#include "cpart.h"

CPart::CPart()
{
	final_part_type=-1;
	due_time=-1;
}

CPart::~CPart()
{
}

int CPart::getFinalType()
{
	return final_part_type;
}

void CPart::AddOperation(int op)
{
	doneOperations.push_back(op);
}

void CPart::setFinalType(int tp)
{
	final_part_type=tp;
}

void CPart::setDueTime(double dt)
{
	due_time=dt;
}

double CPart::getDueTime()
{
	return due_time;
}
double CPart::getLastOpTime()
{
	return lastOpTime;
}

void CPart::setLastOpTime(double ot)
{
	lastOpTime=ot;
}


